package org.jeecg.modules.demo.pointcount.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.demo.pointcount.entity.PointCount;

import java.util.List;

/**
 * @Author yw
 * @Date 2021/3/10 10:58
 */
public interface IPonintCountService  extends IService<PointCount> {
    List<PointCount> getPointList(List<PointCount> list,PointCount pointCount);
    List<PointCount> getNumList(PointCount pointCount);
    int getPointListCount(PointCount pointCount);

    List<PointCount> getNewUserPointList(List<PointCount> list,PointCount pointCount);
    List<PointCount> getNewUserNumList(PointCount pointCount);
    int getNewUserPointListCount(PointCount pointCount);

    //统计
    void addPointCount(PointCount pointCount);

    /** zrikka start */
    /** zrikka 查询记录是否存在 */
    String queryRecordIsExist(PointCount req);
    /** zrikka 新增记录 */
    int addPointCountRecord(PointCount req);
    /** zrikka 修改记录 */
    int updatePointCount(PointCount req);
    /** zrikka 打点数据查询 */
    List<PointCount> queryPointData(PointCount req);
    /** zrikka 打点数据总数查询 */
    Integer queryPointCount(PointCount req);
    /** zrikka end */
}
